export const userList: LoginResult[] = [
    {
        username: 'admin',
        avatar: 'https://images.unsplash.com/photo-1602024290243-cb6c7609dd6b?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=100&w=40',
        permission: ['ROLE_admin', 'ROLE_user'],
        nickName: 'Nick Brown',
        token: JSON.stringify(['ROLE_admin', 'ROLE_user'])
    },
    {
        username: 'user',
        avatar: 'https://images.unsplash.com/photo-1646380913356-8d852678bb13?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=100&w=40',
        permission: ['ROLE_user'],
        nickName: 'Tom Hardy',
        token: JSON.stringify(['ROLE_user'])
    }
];

export const menuList: MenuResult[] = [
    {
        path: '/home',
        name: 'home',
        meta: {
            auth: true,
            title: '仪表盘',
            icon: 'Home'
        },
    },
    {
        path: '/templates',
        name: 'templates',
        meta: {
            title: '组件模板',
            icon: 'Component'
        },
        children: [
            {
                path: '/templates/table',
                name: 'templates.table',
                meta: {
                    title: '高级表格'
                }
            },
            {
                path: '/templates/form',
                name: 'templates.form',
                meta: {
                    title: '高级表单'
                }
            },
            {
                path: '/templates/modalForm',
                name: 'templates.modalForm',
                meta: {
                    title: '弹窗表单'
                }
            },
            {
                path: '/templates/drawerForm',
                name: 'templates.drawerForm',
                meta: {
                    title: '抽屉表单'
                }
            },
            {
                path: '/templates/dialogButton',
                name: 'templates.dialogButton',
                meta: {
                    title: '弹窗按钮'
                }
            },
            {
                path: '/templates/circleTag',
                name: 'templates.circleTag',
                meta: {
                    title: '圆点标签'
                }
            },
            {
                path: '/templates/iconChoose',
                name: 'templates.iconChoose',
                meta: {
                    title: '图标选择器'
                }
            }
        ]
    },
    {
        path: '/generator',
        name: 'generator',
        meta: {
            title: '代码生成',
            icon: 'File'
        },
        children: [
            {
                path: '/generator/table',
                name: 'generator.table',
                meta: {
                    title: '表格生成'
                }
            },
            {
                path: '/generator/form',
                name: 'generator.form',
                meta: {
                    title: '表单生成'
                }
            },
            {
                path: '/generator/java',
                name: 'generator.java',
                meta: {
                    title: 'java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成java 生成'
                }
            }
        ]
    },
    {
        path: '/system',
        name: 'system',
        meta: {
            auth: true,
            title: '系统管理',
            icon: 'Settings',
            permission: ['ROLE_admin']
        },
        children: [
            {
                path: '/system/user',
                name: 'system.user',
                meta: {
                    title: '用户管理',
                    auth: true,
                    permission: ['ROLE_admin']
                }
            },
            {
                path: '/system/role',
                name: 'system.role',
                meta: {
                    title: '角色管理',
                    auth: true,
                    permission: ['ROLE_admin']
                }
            },
            {
                path: '/system/menu',
                name: 'system.menu',
                meta: {
                    title: '菜单管理',
                    auth: true,
                    permission: ['ROLE_admin']
                }
            }
        ]
    }
];